package com.ruoyi.modes.service.impl;

import com.ruoyi.modes.entity.TJrProduct;
import com.ruoyi.modes.mapper.TJrProductMapper;
import com.ruoyi.modes.service.TJrProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TJrProductServiceImpl implements TJrProductService {

    @Autowired
    private TJrProductMapper mapper;
    @Override
    public List<TJrProduct> listAll() {
        return mapper.listAll();
    }

    @Override
    public List<TJrProduct> listAll2() {
        return mapper.listAll2();
    }

    @Override
    public List<TJrProduct> listAll3() {
        return mapper.listAll3();
    }

    @Override
    public boolean addinstall(TJrProduct tJrProduct) {
        return mapper.addinstall(tJrProduct);
    }

    @Override
    public boolean updatedeflg(String id) {
        return mapper.updatedeflg(id);
    }
}
